package com.ruoyi.cat.domain.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MyHomeDTO {

    @ApiModelProperty("文章id")
    private Long id;

    @ApiModelProperty("文章标题")
    private String activityTitle;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("开始时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("缩略图")
    private String thumbnail;

    @ApiModelProperty("微信封面图")
    private String wXImg;

    @ApiModelProperty("浏览量")
    private Long quantity;

    @ApiModelProperty("目标值")
    private Long targetNum;

    @ApiModelProperty("1文章,2活动")
    private String type;

    @ApiModelProperty("参与人数")
    private Long participants;

    @ApiModelProperty("转换收益")
    private BigDecimal conversionIncome;

    @ApiModelProperty("2正常 3结束")
    private String articleExamine;



}
